﻿<UserControl x:Class="EyeOpen.TimeAssistant.UI.Silverlight.BusyIndicator"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
    d:DesignHeight="300" 
    d:DesignWidth="400">
    <Grid>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <controlsToolkit:HeaderedContentControl
                Grid.ColumnSpan="2"
                Grid.Column="1">
                <controlsToolkit:BusyIndicator
                    IsBusy="{Binding IsBusy}"
                    DisplayAfter="0"
                    BusyContent="Logging in...">
                </controlsToolkit:BusyIndicator>
            </controlsToolkit:HeaderedContentControl>
        </Grid>
    </Grid>
</UserControl>
